package cn.dylan.org.domain;

import cn.dylan.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class Shop extends BaseDomain {

    private String name;
    private String tel;
    @JsonFormat(pattern = "yy-MM-dd")
    private Date registerTime = new Date();
    private Integer state;
    private String address;
    private String logo;
    private Long admin_id;
    //对应后端传回数据名称
    private Employee admin;
}
